using System;

namespace Randomize.Core.Generators
{
    public abstract class RangeGenerator<TGenerate> : Generator<TGenerate>, IRangeGenerator<TGenerate>
        where TGenerate : struct
    {
        protected RangeGenerator(Random random) : base(random)
        {
        }

        public TGenerate? Min { get; set; }

        public TGenerate? Max { get; set; }
    }
}